/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Facade;

import Control.ControlInformacion;
import java.io.IOException;
import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;

/**
 *
 * @author Yenko
 */
public class CasoDeUso
{
    ControlInformacion controlInformacion = new ControlInformacion();

    public Alert MostrarInformacion ( int xEnLaMira, int yEnLaMira ) throws IOException
    {
            Alert Informacion;
            String texto = controlInformacion.obtenerInformacion( xEnLaMira, yEnLaMira );
            Informacion = new Alert(""+xEnLaMira+""+yEnLaMira,texto,null,AlertType.INFO);
            return Informacion;
    }

}//f CasoDeUso
